|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.vtp.framework.engine.DataTypeDescriptor
public final class DataTypeDescriptor
An object that describes a dynamic data type.
| Constructor Summary | |
|---|---|
DataTypeDescriptor(java.lang.String name,
FieldDescriptor[] fields)
Creates a new DataTypeDescriptor. |
|
| Method Summary | |
|---|---|
FieldDescriptor |
getField(int index)
Returns the field at the specified index. |
int |
getFieldCount()
Returns the number of fields declared on this type. |
java.lang.String |
getName()
Returns the name of this type. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DataTypeDescriptor(java.lang.String name,
FieldDescriptor[] fields)
name - The name of this type.fields - The fields declared in this type.
java.lang.IllegalArgumentException - If the supplied name is empty.
java.lang.IllegalArgumentException - If the same field name is listed more than
once in the supplied field array.
java.lang.NullPointerException - If the supplied name is null.
java.lang.NullPointerException - If the supplied field array or any of its
elements are null.| Method Detail |
|---|
public java.lang.String getName()
public int getFieldCount()
public FieldDescriptor getField(int index)
throws java.lang.IndexOutOfBoundsException
java.lang.IndexOutOfBoundsException - If the supplied index is less than zero
or greater than or equal to this type's field count.public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||